package com.wooming.studentinfosystem.entity;

import lombok.Getter;

/**
 * 学生类型枚举
 *
 * @author wooming
 */
@Getter
public enum StudentType {
    UNDERGRAD("本科生"){
        @Override
        public String toString() {
            return "UNDERGRAD";
        }
    },
    GRADUATE("研究生"){
        @Override
        public String toString() {
            return "GRADUATE";
        }
    };

    private final String description;

    StudentType(String desc) {
        this.description = desc;
    }
}
